package com.ruoyi.common.core.domain;

public class SensorData {
    private String device;

    private String type;

    private Double value;

    private Long timestamp;

    public SensorData(String device, String type, Double value, Long timestamp) {
        this.device = device;
        this.type = type;
        this.value = value;
        this.timestamp = timestamp;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getValue() {
        return value;
    }

    public void setValue(Double value) {
        this.value = value;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
